#!/bin/bash
#执行该脚本，你将卸载已安装的网卡稳定器

dir=`pwd`
echo "开始卸载网卡稳定器"
systemctl stop rseth.timer rseth.service
systemctl disable rseth.timer rseth.service
rm -rf /etc/systemd/system/rseth.*
rm -rf ${dir}/rseth.sh /usr/bin/rseth
systemctl daemon-reload
systemctl reset-failed   #移除失效的服务
echo "已卸载所有的网卡稳定器配置"
